package com.mm.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mm.user.domain.po.User;
import org.apache.ibatis.annotations.*;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    //4.修改用户信息,不修改密码
    @Update("update t_user set nickname=#{nickname},avatarUrl=#{avatarUrl},phoneNum=#{phoneNum},email=#{email},remark=#{remark},updateTime=#{updateTime} where id=#{id}")
    int updateUser(User user);
}
